package com.kaili.basic.mapper;

import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.kaili.basic.pojo.dto.BaseProductQueryDto;
import com.kaili.basic.pojo.entity.BaseProductExport;
import com.kaili.basic.pojo.entity.BaseProductManage;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BaseProductManageMapper {

    void addProductManage(BaseProductManage productManage);

    void deleteProductManage(Long productId);

    void updateProductManage(BaseProductManage productManage);

    List<BaseProductManage> queryProductManage(Pagination page, BaseProductQueryDto productQueryDto);

    List<BaseProductExport> queryProductManageExport(BaseProductQueryDto productQueryDto);

    String getProductManageCode();

    List<BaseProductManage> queryProductManage(BaseProductQueryDto queryDto);

    BaseProductManage getProductById(Long id);
}
